package cn.net.xinyi.xs.service.hr;

import java.util.List;

import cn.net.xinyi.xs.dao.hr.OrganDao;
import cn.net.xinyi.xs.model.hr.Organization;
import cn.net.xinyi.xs.model.vo.PageVO;
import cn.net.xinyi.xs.service.Manager;

public interface OrganManager extends Manager {
	void setOrganDao(OrganDao dao);

	Organization getOrgan(Long id);

	Organization getOrganWithChild(Long id);

	List<Organization> getOrgans(PageVO pageVO);

	int getOrganCount();

	List<Organization> getOrganChildren(Long id);

	List<Organization> getOrganRecursionChild(Long id);

	List<Organization> getAllBranchOrgans();

	List<Organization> getBranchOrganByOrgCode(long organId);
}
